***************************
***************************
*Replication for Are Public Spaces Welcoming to All? A Conjoint Experiment on  Cultural Representation and Inclusionary Practices in Museums
*By Mohr, Piatak and Olivares
*Accepted for publication in Public Administration
***************************
*Data posted for replication 7.7.23 using "final data for analysis.dta"




***********************
***********************
***Analysis

*analysis 1
***AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) graph
ereturn list
//Note here that conjoint is doing a simple regression with cluster standard errors i.e. Hainmuller Hopkins and Yamamoto 2013 p. 17
*demonstrates AMCE by regression with cluster se as described above
reg selected i.artist i.description i.events i.programs i.cost i.location, vce(cluster id)

// However, while AMCE may be ok for the whole sample the Leeper et al paper suggests that marginal means are needed for subgroup analysis
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) graph
reg selected artist description events programs cost location


******************
*Subgroup analysis

***Race
*AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) subgroup (race5cat) graph
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (race5cat) graph
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (race5cat) graph(2)

***Gender
*AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) subgroup (Q19_OPS) graph
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (Q19_OPS) graph

***Partisanship
*AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) subgroup (Q24_OPS) graph
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (Q24_OPS) graph

***Age
*AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) subgroup (age3) graph
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (age3) graph

***Art museum attendance
**Previously visited the Mint
*AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) subgroup (visit) graph
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (visit) graph

**Any art museum in LAST 12 MONTHS
*AMCE
conjoint selected artist description events programs cost location, est(amce) id(id) subgroup (visit_any) graph
***Marginal Means
conjoint selected artist description events programs cost location, est(mm) id(id) subgroup (visit_any) graph




